<?
  include("com/website_config.php");
  $pathurltrue=__FILE__;
  $pathurl=basename($pathurltrue,".php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>租车常识</title>
<link rel="shortcut icon" href="/favicon.ico"/>
<link href="css/css.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="http://www.ashlybus.com/js/jquery-1.9.1.min.js"></script>
<script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?429d331d02551c5c42fbfb2982cfcf64"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script>
</head>
<body>
<? include("top.php");?>

<div class="jiange"></div>
<div class="nowplace">当前位置：<span><a href="/">首页</a></span><span>&nbsp;>&nbsp;</span><span>租车常识</span></div>

<div class="jiange"></div>
<div class="innerbox">
     <div class="newsleft fl">
	 <?
	/*
	 * 查询产品
	 */  
	  $id=(int)$_GET["detail_id"];//$_GET方式获得url传递过来的id参数，
	  $typeid=(int)$_GET['BigClassId'];

	  $sql = "select * from ms_product where pro_id=$id";//根据传递过来的参数查询出来相应的记录
	  $result = $db->query($sql);//执行查询
	  $array=mysql_fetch_array($result);
	  $pro_title=$array['pro_title'];
	  $pro_from=$array['pro_from'];
	  $content=$array['pro_content'];
	  $pro_adddate=$array['pro_adddate'];
	  
	  
	  $photoSql = "select * from ms_product_photo where pro_id=$id";//根据传递过来的参数查询出来相应的记录
	  $photoResult = $db->query($photoSql);//执行查询
	  $array=mysql_fetch_array($photoResult);//查询结果存放到$array数组
	  $pro_pic=$array["img_path"];
	  $proimgpath=str_replace("../../","","$pro_pic");//图片路径重置
?>
          <div class="news_title">
          	<h2><? echo $pro_title;?></h2>
          	<div class="biaoqian">
             	 <span class="span1">文章来源</span><span><? echo $pro_from;?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
             	 <span class="span2">发表时间</span><span><?php echo substr($pro_adddate,0,10);?></span>
         	 </div>
          </div>
          <div class="article_detail">
                 <? echo $content;?>
             </div>
             <div class="fenxiang">
             		<table cellpadding="0" cellspacing="0" border="0" width="100%">
                           <tr>
                               <td width="70">分享到</td>
                               <td><div class="bshare-custom icon-medium-plus"><a title="分享到QQ空间" class="bshare-qzone"></a><a title="分享到新浪微博" class="bshare-sinaminiblog"></a><a title="分享到人人网" class="bshare-renren"></a><a title="分享到腾讯微博" class="bshare-qqmb"></a><a title="分享到网易微博" class="bshare-neteasemb"></a><a title="更多平台" class="bshare-more bshare-more-icon more-style-addthis"></a></div><script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/buttonLite.js#style=-1&amp;uuid=&amp;pophcol=2&amp;lang=zh"></script><script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/bshareC0.js"></script></td>
                           </tr>
                    </table>
             </div>
     </div>
     <div class="newsright fr">
          <div class="celan">
               <div class="celan_title"><a href="#">热门点击</a></div>
               <div class="celan_list">
                    <ul>
                        <li>
                            <div class="celan1 fl"><a href="#"><img src="images/chatu2.jpg" /></a></div>
                            <div class="celan2 fl"><a href="#">热门点击标题热点击标题</a><br /><span>2016-03-23</span></div>
                        </li>
                        <li>
                            <div class="celan1 fl"><a href="#"><img src="images/chatu2.jpg" /></a></div>
                            <div class="celan2 fl"><a href="#">热门点击标题热点击标题</a><br /><span>2016-03-23</span></div>
                        </li>
                        <li>
                            <div class="celan1 fl"><a href="#"><img src="images/chatu2.jpg" /></a></div>
                            <div class="celan2 fl"><a href="#">热门点击标题热点击标题</a><br /><span>2016-03-23</span></div>
                        </li>
                        <li>
                            <div class="celan1 fl"><a href="#"><img src="images/chatu2.jpg" /></a></div>
                            <div class="celan2 fl"><a href="#">热门点击标题热点击标题</a><br /><span>2016-03-23</span></div>
                        </li>
                    </ul>
               </div>
          </div>
          <div class="celan">
               <div class="celan_title"><a href="#">租车常识</a></div>
               <div class="celan_list">
                    <ul>
                        <li>
                            <div class="celan1 fl"><a href="#"><img src="images/chatu2.jpg" /></a></div>
                            <div class="celan2 fl"><a href="#">热门点击标题热点击标题</a><br /><span>2016-03-23</span></div>
                        </li>
                        <li>
                            <div class="celan1 fl"><a href="#"><img src="images/chatu2.jpg" /></a></div>
                            <div class="celan2 fl"><a href="#">热门点击标题热点击标题</a><br /><span>2016-03-23</span></div>
                        </li>
                        <li>
                            <div class="celan1 fl"><a href="#"><img src="images/chatu2.jpg" /></a></div>
                            <div class="celan2 fl"><a href="#">热门点击标题热点击标题</a><br /><span>2016-03-23</span></div>
                        </li>
                        <li>
                            <div class="celan1 fl"><a href="#"><img src="images/chatu2.jpg" /></a></div>
                            <div class="celan2 fl"><a href="#">热门点击标题热点击标题</a><br /><span>2016-03-23</span></div>
                        </li>
                    </ul>
               </div>
          </div>
     </div>     
     <div class="cl"></div>
</div>

















<? include("foot.php");?>
</body>
</html>
